﻿using System;
using System.Collections.Generic;
using System.Text;

namespace LdCms.Plugins.Map.Tencent.Models
{
    /// <summary>
    /// 
    /// </summary>
    public class PlaceSuggestionResult
    {
        public int status { get; set; }
        public string message { get; set; }
        public int count { get; set; }
        public string request_id { get; set; }
        public List<PlaceSuggestionResultData> data { get; set; }
        public List<PlaceSuggestionResultSubPois> sub_pois { get; set; }

    }
    public class PlaceSuggestionResultData
    {
        public string id { get; set; }
        public string title { get; set; }
        public string address { get; set; }
        public string province { get; set; }
        public string city { get; set; }
        public string adcode { get; set; }
        public int type { get; set; }
        public decimal _distance { get; set; }
        public PlaceSuggestionResultLocation location { get; set; }

    }
    public class PlaceSuggestionResultSubPois
    {
        public string parent_id { get; set; }
        public string id { get; set; }
        public string title { get; set; }
        public string address { get; set; }
        public PlaceSuggestionResultLocation location { get; set; }
        public int adcode { get; set; }
        public string city { get; set; }
    }
    public class PlaceSuggestionResultLocation
    {
        public decimal lat { get; set; }
        public decimal lng { get; set; }
    }
}
